#include <scdl/parser/core.hpp>
#include <scdl/parser/StringMap.hpp>

#include <iostream>
using namespace scdl;

int main(int argc, char *argv[])
{
        int ret;
        for (int i = 1; i < argc; i ++) {
                ret = scdl_parse(argv[i]);
                if (ret)
                        return ret;
                if (argc > 2)
                        std::cout << "===== FILE " << i << " =====\n";
                get_symbol_table()->print();
        }

        return 0;
}
